home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / Sample3 / Sources / Include / SampleFrm.h < prev    next >
Encoding:
Text File  |  1995-10-11  |  1.1 KB  |  38 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ 1.0 d11 $
  3.  
  4. #ifndef _SAMPLEFRAME_
  5. #define _SAMPLEFRAME_
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class FW_CLASS_ATTR CSamplePart;
  15. class FW_CLASS_ATTR DevUniv_STalker;
  16.  
  17. //=======================================================================
  18. class FW_CLASS_ATTR CSampleFrame : public FW_CFrame {
  19. public:
  20.                         CSampleFrame(Environment* ev, 
  21.                                     ODFrame* odFrame, 
  22.                                     FW_CPresentation* presentation, 
  23.                                     CSamplePart* samplePart);
  24.     virtual             ~CSampleFrame();
  25. protected:
  26. // overrides
  27.     virtual void        Draw(Environment *ev, 
  28.                              ODFacet* odFacet, 
  29.                              ODShape* invalidShape);
  30.     virtual FW_Boolean    DoMouseDown(Environment* ev, 
  31.                                     const FW_CMouseEvent& theMouseEvent);
  32. private:
  33.     DevUniv_STalker*    fSOMTalker;    // SOM object for speech synthesis
  34. };
  35.  
  36. //=======================================================================
  37. #endif
  38.